package com.javid.study;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@MapperScan("com.javid.study.mapper")
@RestController
@SpringBootApplication
public class SpringStudyApplication {

    @RequestMapping("/hello")
    public String hello() {
        return "hello, world!  I'm 扭一扭!";
    }

    public static void main(String[] args) {
        SpringApplication.run(SpringStudyApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  NYN启动成功   ლ(´ڡ`ლ)ﾞ  \n");
    }

}
